package com.example.systemwork.controller;

import com.example.systemwork.common.controller.LogicController;
import com.example.systemwork.dao.BusinessDao;
import com.example.systemwork.dao.ItemDao;
import com.example.systemwork.entity.Business;
import com.example.systemwork.entity.Item;
import com.example.systemwork.service.BusinessService;
import com.example.systemwork.service.ItemService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "商品实体的控制器")
@RestController
@RequestMapping("/item")
public class ItemController extends LogicController<ItemService, ItemDao, Item, Long> {
    public ItemController(ItemService ls) {
        super(ls);
    }
}
